//用于创建vuex中的store
import Vuex from 'vuex'
import Vue from 'vue'
import countState from './count'
import personState from './person'

Vue.use(Vuex)

const store = new Vuex.Store({
    modules: {
        countState, personState
    }
})
//暴露 导出
export default store

